package com.ellricky.baselib.entity.work;

import com.ellricky.baselib.BaseConstant;

import java.io.Serializable;

// 作品集
public class WorksListEntity implements Serializable {
    private static final long serialVersionUID = -4455195828438600972L;

///////////////////////////////////////////////////////////////////////////
// 后台返回字段
///////////////////////////////////////////////////////////////////////////

    // 作品ID
    private String id;
    // 年份
    private String yearDate;
    // 作品名称
    private String worksName;
    // 作品上传时间
    private String workTime;
    // 图片地址
    private String workFileUrl;


///////////////////////////////////////////////////////////////////////////
//  本地保存字段
///////////////////////////////////////////////////////////////////////////
    
    private int spanCount = 1;
    private int viewType = BaseConstant.TYPE_PIC_THREE;
    private boolean showTimeLine;

///////////////////////////////////////////////////////////////////////////
// get & set
///////////////////////////////////////////////////////////////////////////    

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getYearDate() {
        return yearDate;
    }

    public void setYearDate(String yearDate) {
        this.yearDate = yearDate;
    }

    public String getWorksName() {
        return worksName;
    }

    public void setWorksName(String worksName) {
        this.worksName = worksName;
    }

    public String getWorkTime() {
        return workTime;
    }

    public void setWorkTime(String workTime) {
        this.workTime = workTime;
    }

    public String getWorkFileUrl() {
        return workFileUrl;
    }

    public void setWorkFileUrl(String workFileUrl) {
        this.workFileUrl = workFileUrl;
    }

    public int getSpanCount() {
        return spanCount;
    }

    public void setSpanCount(int spanCount) {
        this.spanCount = spanCount;
    }

    public int getViewType() {
        return viewType;
    }

    public void setViewType(int viewType) {
        this.viewType = viewType;
    }

    public boolean isShowTimeLine() {
        return showTimeLine;
    }

    public void setShowTimeLine(boolean showTimeLine) {
        this.showTimeLine = showTimeLine;
    }
}
